package com.ruoyi.mqtt.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @program: RuoYi-Cloud-master
 * @ClassName Mqtt
 * @description:
 * @author:
 * @create: 2023-11-28 20:04
 * @Version 1.0
 **/
@Data
public class Mqtt implements Serializable {
    private Double temperature;
    private Double humidity;
    private String vin;
    private String topic;
    private Double maxTemperature;
    private Double minTemperature;
    private Double maxHumidity;
    private Double minHumidity;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime time;
}
